Automatic updating of diverse software products on multiple client computer systems

ABSTRACT

A system and method update client computers of various end users with software updates for software products installed on the client computers, the software products manufacturered by diverse, unrelated software vendors. The system includes a service provider computer system, a number of client computers and software vendor computer systems communicating on a common network. The service provider computer system stores in an update database information about the software updates of the diverse software vendors, identifying the software products for which software updates are available, their location on the network at the various software vendor computer systems, information for identifying in the client computers the software products stored thereon, and information for determining for such products, which have software updates available. Users of the client computers connect to the service provider computer and obtain a current version of portions of the database. The client computer determines that software products stored thereon, and using this information, determines from the database, which products have updates available, based on product name and release information for the installed products. The user selects updates for installation. The selected updates are downloaded from the software vendor computer systems and installed on the client computer. Payment for the software update and the service is mediated by the service provider computer. Authentication of the user ensures only registered users obtain software updates. Authentication of the software updates ensures that the software updates are virus free and uncorrupted. Changes to the client computer during installation are monitored and archived, allowing the updates to be subsequently removed by the user.

BACKGROUND

[0001] 1. Field of Invention

[0002] The present invention relates to systems and methods forcomputer-based customer support, and more particularly, to systems,methods, and products for automatically updating software products fromdiverse software vendors on a plurality of end-user, client computersystems.

[0003] 2. Background of Invention

[0004] The typical personal computer contains various categories ofsoftware products, such as operating system files, utilities,applications, and device is drivers, code libraries, and other forms ofcomputer readable or executable information. In some of thesecategories, such as applications, the personal computer may containnumerous programs in various subcategories. For example, a user may haveone or two word processing applications, several graphics applications,and numerous games. Most of these products will come from differentsoftware vendors. As used herein “software vendors” includes any entitythat distributes software products, even if the entity also manufacturesor distributes hardware or other non-software products. These softwarevendors frequently improve their products, by adding new features, or byfixing known problems, and make these software updates available totheir users. These updates may or may not be free.

[0005] There are at least three significant problems that the vendorsand users face in attempting to provide these updates to the user.First, vendors face difficulty and costs in attempting to inform usersof their products that the updates are available, and users experiencesimilar difficulties in attempting to ascertain what updates areavailable. Vendors typically send out mailings to registered users,place advertisements in relevant trade journals and magazines, andengage in other promotional activities.

[0006] For all of these efforts, many users may remain unaware of themany software updates applicable to their systems until they encounterproblems and contact the vendors' technical support organizations. Otherusers only learn about updates by searching the Internet or on-lineservices for solutions to their technical problems. Just the shearmagnitude of the problem of updating all software products can beoverwhelming. Given that a user will have many software products fromnumerous vendors on her computer, it would be nearly impossible for theuser to frequently monitor all of the available distribution channels,journals, Internet forums, and the like, to determine for which of themany software products there are updates available.

[0007] For example, some vendors maintain sites on the World Wide Web,or electronic bulletin boards (BBS's) that include information aboutcurrent updates and products, and enable a user to download suchupdates. However, such sites are obviously dedicated to a singlesoftware vendor, and provide information only about that softwarevendor's products, and certainly not about the products of numerousother vendors that may be interest to a given user. Thus, the user wouldhave to search the Internet, and possibly online services, to determinewhich vendors have such sites. The user would likely to have visit eachof these sites individually and determine what software updates areavailable from each of them. Similarly, even though some on-lineservices include forums or other mechanisms where users can learn aboutavailable updates, this still places the burden on the user to activelyseek out this information. Directories or search engines on theInternet, such as Excite, Yahoo, Lycos, or Infoseek merely provide linksto software vendor sites, but do not generally attempt to systematicallydetermine which software updates are available, and provide thisinformation to the user, let alone actually update the software on theuser's machine.

[0008] Another problem is that even once an update has been identified,there is the need to install it in the user's computer. Many userspurchase the software updates by mail order, or the like, and receivethem on floppy diskettes. Other users may download the software updatesvia Internet from the computers of the software vendors, or from on-lineservices. In any of these cases installing a single update can be atedious, time-consuming and error-prone process for many users due tothe various formats and installation procedures required. Installingupdates for all of the numerous software products on a user's system ona regular basis would be even more difficult and time consuming for thetypical user.

[0009] Finally, many users have concerns about their privacy, and areoften resistant to revealing complete information about their softwareconfigurations to one or more vendors. However, even for a singlevendor, information about which of the vendor's products are installedon a user's computer system, and system configuration information isnecessary for determining which updates are applicable to the user'scomputer system. For example, a certain software update to an accountingprogram from vendor A might be applicable if the user has a printer fromvendor B, and a different software update is applicable if the printercomes from vendor C. The user might not want to let each vendor knowabout all the components on their system, but this configurationinformation is necessary to ensure the correct software updated isinstalled. Still, users are resistant to the prospect of a single vendorstoring information profiling the software components that reside ontheir computer systems.

[0010] In summary, from the perspective of an individual vendor, theproblems are identifying and notifying every user of the vendor'ssoftware of the availability of updates to the software on a timely anduseful basis, and ensuring that the proper software updates areinstalled. From the perspective of the individual user, the problems aresystematically and easily identifying which updates are currentlyavailable for every piece of software on her system, and resolving thetechnical difficulties in obtaining and installing such updates.

[0011] Accordingly, it is desirable to provide a system thatautomatically determines which software updates from numerous diversesoftware vendors are currently available, and which are applicable to agiven user's computer system, and installs such user selected ones ofsuch updates on the user's computer. Further, it is desirable to providesuch a system without abridging the privacy of users by obtaining andstoring system profile information.

SUMMARY OF THE INVENTION

[0012] In accordance with one aspect of the present invention, there isprovided a system and method that automatically updates softwarecomponents from numerous diverse software vendors on the computersystems of a plurality of end users. The system includes at least onedatabase that stores software update information for a plurality ofsoftware products manufactured by diverse software vendors. The databaseis maintained by a service provider on a service provider computersystem. Alternatively, the database may be maintained by a set ofsoftware vendors of the software products in association with theservice provider. The software update information in the databasespecifies the software update program or files and their networklocation on the computer system of the software vendors, which computersystems are connected over the network to the service provider computersystem. The database further stores information that describes aninstallation process for installing the software update on a user'scomputer.

[0013] In the preferred embodiment the network is the Internet to whichthe diverse software vendor computer systems are connected, and makeavailable is updates for their software. The network location providedin the software update information is specified by one or more universalresource locators (URL). Thus, the update database does not store thesoftware updates themselves, but information that is used to access thesoftware from computer systems of the original vendors. In addition, thesoftware update information includes a format description associatedwith specific installation programs or actions needed to install thesoftware update.

[0014] On each user computer, or synonymously client computer, operatingin accordance with one embodiment of the invention there is provided aclient application that periodically connects over the network to theupdate database of the service provider computer system. The clientapplication automatically downloads a portion of the database to theclient computer, preferably to update a mirror of portions of database.From client database, the client application determines which softwareupdates are applicable or relevant to the user's computer. This ispreferably done by first determining the products that are installed inthe client computer, and determining for each of these whether there isan update available for a more recent version of the software productthan that installed on the client computer. The applicable softwareupdates are identified to the user.

[0015] The user selects various software updates for installing on theclient computer. Either the client application or the service providercomputer then uses the network location specified in the database toconnect to the computer system of the software vendor and download thesoftware update from there to the client computer. The clientapplication uses the format information to determine the appropriateinstallation process associated with the software update, and installsthe software update using the proper installation process. During theinstallation process, the client application monitors all changes madeto the client computer, such as the deletion, addition, or alteration offiles or directories. The client application stores the state of theclient computer prior to these changes. This may be done by savingcopies of files to be altered or deleted, and noting pathnames of filesor directories to be added. Once the installation is complete the storedstate information, such as the copied files, is compressed and archived,and identified as being associated with the just installed softwareupdate. This stored state information allows the client application to“undo” the installation and restore the client computer to its stateprior to the installation, including restoring any files that weredeleted or altered. Multiple “undoes” of multiple installations may beaccomplished.

[0016] Where the vendor charges for the software update, the serviceprovider computer may intermediate between the software vendor'scomputer and the client computer to enable an electronic payment by theuser to the software vendor. When the electronic payment is authorized,the client application downloads the software update and completes theinstallation as described. Additionally, the service provider computermay authenticate the software update and check to ensure that it is notcorrupted, for example by computer viruses.

[0017] The service provider periodically updates the update database,monitoring URL information to ensure that it correctly identifies thelocation of software updates, identifies new software updates, or newproducts for inclusion in the database, and the like.

[0018] The above system allows numerous users to periodically andautomatically update the software products on their computers fromdiverse software vendors through a single, update mechanism. The usersneed not invest the time and energy to identify currently availableupdates, nor engage in the potentially difficult process of manually(even electronically) obtaining and installing the software updates, andproperly configuring their computer systems. Rather, all of the relevantinformation about the currently available updates is maintained forsubscribing users in the service provider's database.

[0019] Further, the above system provides these benefits withoutdirectly storing the software updates themselves, which would beundesirable for the service provider due to vast memory requirementsneeded for handling software updates from hundreds, or potentiallythousands of software vendors, and the difficulty of ensuring that allsuch software updates were current.

[0020] As a further aspect of the invention, the update database storespromotional information for various software products in addition to thesoftware update information. The promotional information includesproduct literature, advertising literature, technical information,product demonstration software and the like. This information iscategorized into a number of product categories. Like the softwareupdate information, the promotional information itself is not stored inthe update database, but rather, a network location is stored for eachitem of promotional information.

[0021] The client application determines on the client computer theproduct categories of the software products therein, and then selectspromotional information from certain product categories, and retrievesthis promotional information from the network location informationassociated with it. This enables the client application to directpromotional information to the client computer based on the softwareproducts thereon, and hence the user's likely product interests,without 1) storing large quantities of promotional information directly;and 2) disclosing the actual contents of the user computer to thirdparties.

[0022] The update database of software update information is preferablymaintained by a supplier of the client application, who also maintainsthe service of providing software updates. This database is created byengaging with numerous software vendors to provide information forsoftware updates of their products to the service provider. Preferrably,the software vendors provide the service provider information describingthe software update, including version information, file formats,configuration information, and network location.

[0023] Alternatively, software updates may be identified bysystematically and periodically searching the Internet to identify thesoftware vendors who are providing updates to their software products.These updates are then downloaded from the software vendor's Internetsites, and one or more network locations (URL) are identified forobtaining the download. The downloaded software update is then installedon one or more target computers as typically configured by end users.The format of the software update is determined, along with the networklocation of the software update, and other descriptive information, suchspecific configuration actions to be taken during installation of thesoftware update, useful descriptive text, and the like.

[0024] In another aspect of the present invention there is provided aclient application that interacts with the update database. The clientapplication is provided on each of a plurality of client computers. Theclient application is executed on a periodic basis and connects to aupdate database as described above to perform the operations ofdownloading the portions of the database, determining the relevantsoftware updates to be retrieved, retrieving same from their networklocations, installing the software updates on the client computer, andremoving installed updates if desired.

[0025] In yet another aspect of the present invention, information aboutsoftware updates or software products may be provided by the serviceprovider to a client computer by email, upon request for emailnotification by a user. Users who subscribe to the service provider'sservice indicate the software products in which they are interested,either directly, or indirectly by their actions in using the service. Asnew software updates, or software products become available, the serviceproviders determines which one match a particular user's interests, andnotifies the user of such updates or products by email. The notificationincludes the network location of where the software product or softwareupdate is available. The user can then approve the installation of theproduct or update, and use the client application to download andinstall the software update or product.

BRIEF DESCRIPTION OF THE DRAWINGS

[0026]FIG. 1 is an illustration of a system for providing softwareupdates in accordance with the present invention.

[0027]FIG. 2 is a flowchart of the overall method for providing softwareupdates to a client computer in accordance with the present invention.

[0028]FIG. 3 is an illustration of a user interface for registering anew user of the updating service.

[0029]FIG. 4 is an illustration of a user interface for selectingsoftware updates for installation.

[0030]FIG. 5 is an illustration of a user interface for confirminginstallation of a software update.

[0031]FIG. 6 is an illustration of a user interface for undoing aninstallation of a software update.

[0032]FIG. 7 is an illustration of software architecture of the serviceprovider computer system.

[0033]FIG. 8 is one embodiment of a schema for the update database ofthe service provider computer.

[0034]FIG. 9 is an illustration of the software architecture of anclient computer.

[0035]FIG. 10 is a flowchart of further details of analyzing the clientcomputer, determining software updates, and displaying updateinformation.

[0036]FIG. 11 is a flowchart of the operation of the install monitor.

[0037]FIG. 12 is a flowchart of the operation of the URL monitor.

[0038]FIG. 13 is an illustration of a user interface for registering asoftware update into the update database.

[0039]FIG. 14 is one embodiment of a schema for the user profiledatabase.

[0040]FIG. 15 is one embodiment of a schema for the advertisinginformation database.

[0041]FIG. 16 is a flowchart of the operation of the recovery module.

[0042]FIG. 17 is an illustration of a user interface for registration asofware product into the update database.

DETAILED DESCRIPTION OF THE INVENTION

[0043] System Architecture

[0044] Referring now to FIG. 1, there is shown the architecture of oneembodiment of a system for updating diverse software products on user'scomputers in accordance with the present invention. In system 100, thereare a plurality of client computers 101 communicatively coupled by anetwork 106 to a service provider computer 102. A number of softwarevendor computers 103 are also communicatively coupled over the network106 to the service provider computer 102. The network 106 is preferablythe Internet, or other similar wide area network.

[0045] Each client computer 101 is operated by an end user, andtypically has a number of software products installed thereon, such asapplications, drivers, utilities and the like. In accordance with thepresent invention, the client computers 101 includes a clientapplication 104 that communicates with the service provider computer 102to obtain software updates of software products installed on the clientcomputer 101. The software architecture of a client computer 101 andclient application 104 is further described below with respect to FIG.7.

[0046] Each software vendor computer 103 coupled to the service providercomputer 102 stores software update information, software products,information files, and the like. The software update informationincludes applications, binary files, text files, and the like, forupdating software products installed on client computers 101, andadvertising or other information about such products useful to users forevaluating potential software for updating. Other types of informationuseful to providing product support, technical service, or the like mayalso be beneficially provided. In addition, the software vendorcomputers 103 provide mechanisms for controlling distribution andpayment of software updates, such as credit card payment front ends,code authentication and verification subsystems, and the like. Thesevarious mechanisms are understood in the art. For example, paymentmechanisms may be implemented in compliance with various credit card ordebit systems, as known in the art. Likewise, authentication andverification may be implemented using conventional encryptiontechniques.

[0047] In a preferred embodiment, the network 106 is the Internet, andmore specifically, the World Wide Web portion thereof. The variouscomputers thereby support the protocols for FTP, and HTTP, and providefor the display and rendering of HTML, VRML, or other text or interfacedescription languages. Each computer 101, 102, 103 has a IP address thatspecifies its location on the network 106, thereby allowing suchcomputers to communicate with each other in a conventional manner.Files, such as executables, binaries, and text files are identifiedwithin the various computers by universal resource locators (URLs) asknown in the art.

[0048] Overall System Operation

[0049] Referring now to FIG. 2, there is shown an overall flow diagramof the process of updating a single client computer 101 in accordancewith the present invention. The process here is described with respectto a single client computer 101. Given the client-server nature of thesystem, those of skill in the art understand that numerous otherindividual client computers 101 may interact with the service providercomputer 102 in parallel.

[0050] The update process 200 is typically initiated on the clientcomputer 101. The user may manually initiate the process, or it mayoccur automatically, for example at preset periods, such as once amonth. Alternatively, the process may be initiated by the serviceprovider computer 102 prompting the client computer 101 at variousintervals, or in response to particular events.

[0051] In each case, the user logs in 201 to the service providercomputer 102 with the client application 104 in a conventional manner,providing a user ID, a password, and the like. This information may bemanually entered by the user via the client application 104, or morepreferably, stored within the client application 104, and automaticallyprovided once a connection between the client computer 101 and serviceprovider computer 102 is established. If the user is not registered,then the service provider computer 102 in conjunction with inputs by theuser, registers 202 the new user of the system. FIG. 3 illustrates abasic user interface 300 for registering the user. The user identifieshimself or herself by name 301 and selects a password 303. The user mayalso provide a mailing address 305 and a payment mechanism such as acredit card data 311, including a credit card number and expirationdate, to pay for the services and for any for-fee software updates thatthe user may access in the course of using the service provided by theservice provider computer 102. An email address 307 is entered to allowthe service provider to contact the user by email. The user may selectcheck box 309 to indicate that they want to be notified by email whennew software updates are available for software products installed ontheir computer. When the registration process 202 is completed, theservice provider computer 102 returns a unique registration number tothe user. This number may be stored on the client computer 101 and usedduring subsequent logins to identify the user to the service providercomputer 102.

[0052] The registered users are authenticated 203 by the serviceprovider computer 102, using conventional authentication mechanisms,such one or more passwords, digital signature, certificates, or thelike. Authentication ensures that only users who are properly authorizedby the service provider can obtain updates for software products.

[0053] The client application 104 then analyzes 204 the client computer101 to determine a list of installed software products. The list ofinstalled software products typically includes applications, systemutilities, drivers, and other executables or resources. These softwareproducts will typically be from numerous diverse software vendors, anumber of whom will maintain software vendor computers 103 on thenetwork 106.

[0054] For each of the installed software products on the list, theclient application 104 determines 205 if there is an applicable, orrelevant update for the software product. This determination is made inconsultation with the service provider computer 102, which maintains, asfurther described below, a database including a list of availablesoftware updates for numerous software products of diverse softwarevendors.

[0055] The client application 104 displays 206 the list of applicablesoftware updates to the user, for review and selection thereof ofupdates for purchase and installation. FIG. 4 illustrates a sample userinterface display 400 of applicable software updates. This display 400includes the name 401 of each software product identified on the clientcomputer 101, and remarks 403 displayed next to the name indicatingwhether the software product is already up-to-date, that is, there areno applicable updates, or, if the product is not current, the list ofapplicable updates (which may be for the software product itself, or forrelated products). In those cases where there is an applicable update,the remarks 403 briefly indicate the nature of the software update. Inthe example of FIG. 4, the remarks 403 for the software product Quicken5.0® by Intuit Inc., indicates a update to provide new features. Theuser may obtain additional information by selecting a name or remark ofa particular software product. The selected product name and remark ishighlighted, as shown in FIG. 4, and the information about the softwareupdate is displayed 207 in an information window 405. This informationmay be stored in the service provider computer 101, or obtained directlyfrom the software vendor computers 103 as needed using URLs associatedwith such information. The user may limit the list to only thosesoftware products that need updating, rather than all installed softwareproducts, by selecting check box 407.

[0056] The user may select one or more software products to update. Toupdate one of the software products, the user selects the softwareproduct for update by selecting (e.g. double-clicking) the lineincluding the software product, or by single clicking on the line, andthen clicking the retrieve button 409. The user may select more than onesoftware update by holding the control key on the keyboard down whilesingle-clicking on the name of each desired software update, followed byselecting the retrieve button 409. When all the desired updates havebeen selected, the user may click on the continue button 411 to beginthe installation process.

[0057] For each selected software update, the client application 104performs an installation process 208. Referring to FIG. 5, the clientapplication 104 displays information 505 for a selected software update,and provides the user the opportunity to confirm 601 or cancel 503 theinstallation. If confirmed, the client application 104 downloads 209 thesoftware update, along with installation information, such asinstallation programs, files, and the like. This downloading may bedirectly from the software vendor computer 103, using the URL datastored in the service provider computer 102 for the location of thesoftware update on the network 106.

[0058] In conjunction with the downloading process 209, a paymenttransaction 210 may be conducted whereby the user of the client computer101 pays for the software update if it is not a free update. The serviceprovider computer 102 may intermediate in this transaction, or merelyinitiate the transaction by connecting the client application 104 to thecomputer 103 of the software vendor of the update. If paymentinformation, such as credit card numbers, are stored in the clientapplication 104, then this information maybe provided by the clientapplication 104 to the software vendor computer 103.

[0059] Once the download and applicable payment are complete, thesoftware update is physically installed on the client computer 101. Eachsofware update is associated with information that describes theparticulars for the installation, such as configuration, decompressionor other information. The installation is performed in conformance withsuch information.

[0060] In the preferred embodiment, the client application 104 executes211 an install monitor prior to actually installing the software update.The install monitor, as further described below, records the changesmade to the client computer 101 as a result of the installation of thesoftware update. This information is archived by the install monitor andallows the user to “undo” or remove any number of installations, andrestore the client computer 101 to its state prior to each suchinstallation. Accordingly, the client application 104 performs 212 theinstallation, executing any necessary decompression, installation, orsetup applications necessary to install the software update. During theinstallation process 212 the install monitor records 213 any changesmade to the system configuration, including changes to variousconfiguration files, additions or deletions of files, and additions ordeletions of directories. The changes may be recorded in a variety ofmanners, such as building descriptions of the modifications of thefiles, or alternatively, storing copies of files prior to theiralteration or deletion. Once the installation is complete, the installmonitor archives 214 the changes. This process 208 is repeated for eachsoftware update to be installed.

[0061] Once all of the software updates have been installed, the clientapplications 104 logs out 215 of the service provider computer 102, andany necessary payment information for the user may be updated, such aspayment based on the number of software updates purchased, the onlineconnection time, and the like. Alternatively, no payment may need to bedirectly made, as the cost of the service may be included in the cost ofthe software update charged by the software vendor, who then pays theservice provider for the service of coordinating and linking end usersto the software vendor's computer system 103.

[0062] At some subsequent point, the user may decide to undo a previousis installation, for example, due to dissatisfaction with the softwareproduct. The user may use a recovery feature of the client application104 to undo 216 the installation. A sample user interface 600 for therecovery function is illustrated in FIG. 6. The user interface 600includes a field 601 indicating the previous update to be removed asselected by the user, along with an information window 603 describingthe software update. The user confirms the removal of the softwareupdate by selecting the undo button 605, or may cancel with cancelbutton 607. The recovery function deletes the files installed for thesoftware update, and using the archived information created by theinstall monitor during the installation of the product, restores theclient computer system 101 to its configuration immediately before theinstallation of the product. This process 216 includes deleting filesand directories that were added, restoring files and directories thatwere deleted, and restoring files that were otherwise changed. In onepreferred embodiment, the recovery function is able to undo anyinstallation in a given series of installations, accounting for changesto the configuration of the client computer 101 after a particularinstallation. In another preferred embodiment, the recovery functionundoes installations in the reverse order of their installation. If anypayments were originally required from the user for the cost of thesoftware update and the associated service of downloading and installingit, the payments may be credited back to the user when the user undoesthe installation.

[0063] Service Provider Computer

[0064] Referring now to FIG. 7, there is shown one embodiment of theservice provider computer 102 in accordance with the present invention.In terms of hardware architecture, the service provider computer 102 isconventional server type computer, preferably supporting a relativelylarge number of multiple clients simultaneously for requests for dataand other processing operations. The service provider computer 102includes one or more conventional processors in a processor core 723,and a suitable amount of addressable memory 700, preferably on the orderof 18-64 Mb. The service provider computer 102 may be implemented withan Intel-based computer including one or more Pentium® processors, orother more powerful computer, such as various models of SunMicrosystems' SparcStations using UltraSparc® processors. The serviceprovider computer 102 executes a conventional operating system 721, suchas Windows NT® from Microsoft Corp., or one of various UNIX-basedoperating systems, such as Sun Microsystems' Solaris 2.5. The serviceprovider computer 102 further includes a network communication protocollayer 719 that implements the necessary TCP-IP communication functionsfor connecting to the network 106 and communicating with othercomputers.

[0065] In accordance with the present invention, the service providercomputer 102 includes a number of executable components and databasesstructures useful for managing the software update interactions withthe client computer 101 and the software vendor computers 103. Thesecomponents include a security module 701, a communications module 703, apayment module 705, database modification tools 707, a update database709, a user profile database 711, a reporting tools module 713, a URLmonitor module 715; an advertising/information database 717, and anactivity log 718. The update database 709 is described here; theremaining components are described further below.

[0066] Update Database

[0067] The update database 709 maintains information identifying a largeis number of software products, information about the software updatesthat are available from the diverse software product vendors for thesesoftware products, information for identifying software productsinstalled on a client computer 101, and for uniquely distinguishing theversions and names of installed software products.

[0068] In one embodiment, the update database 709 does not itself storethe software updates, but rather stores information, such as URLs, thatallows the service provider computer 102 or the client computers 101 todirectly access the software updates from the software vendor computers103. This implementation is chosen for several reasons. The system 100is designed to provide software updates for large numbers of softwareproducts, on the order of hundreds, and perhaps thousands of products.In this situation, extremely large amounts of storage would be requiredto store the relevant files. Further, by not storing the softwareupdates themselves, but only links to the software vendor computers 103,the service provider does not have to make sure that the softwareupdates themselves are always current, but need only maintain the linkinformation, which is administratively easier. In another embodiment,the software updates are stored in the updated database 709. Thisimplemenation is useful, for example, to facilitate synchronization ofupdates of the database 709 itself with the releases of new softwareupdates for software products, thereby ensuring that the entries in thedatabase 709 are consistent with the current releases of new softwareupdates.

[0069] Finally, the update database 709 may also store informationdescribing an installation process for installing a software update.This information may include particular configuration, file format, orother data useful to performing the installation of the software updatethe client computer 101. This information, if present, may be providedto the client computer 101 to use during the installation of thesoftware update.

[0070] The update database 709 may be implemented in a variety of ways.Referring now to FIG. 8 there is shown one implementation of the updatedatabase 709, illustrated as a schema for a relational database. In thisembodiment, the update database 709 includes 4 tables: a method table801, a product locator table 803, an product table 805, and an updatetable 807. FIG. illustrates a flowchart of the process of analyzing theclient computer 101 using the tables of the update database 709.

[0071] The method table 801 maintains information identifying variousmethods of analyzing a client computer 101 to determine which softwareproducts are installed thereon. The method table 801 includes scanmethods 811 and parameters 812. The various scan methods 812 aredesigned to cover the variety of different facilities of a clientcomputer 101 that may identify the installed products. For example, in aclient computer 101 using Microsoft's Windows95 or Windows NT operatingsystem, there is provided a Registry which is designed to maintainindicia of installed software products. The Registry includes variousmethods that can be called to return information about the softwareproducts identified therein. Some of these methods are listed in thescan methods 811. The parameters 812 are arguments to the Registrymethods, for example, identifying specific aspects of the Registry to besearched.

[0072] While compliance with the Windows95 standard requires that asoftware vendor's installation procedure should update the Registry, notall software vendors comply. In this case, information identifying theinstalled software products is also maintained in the config.sys,system.ini, and the autoexe.bat files. Also, a client computer 101 maybe using Microsoft Corp.'s MS-DOS or Windows 3.1 operating systems,which do not use the Registry. Accordingly, the scan methods 811 includemethods for reviewing these system files and returning indicia of theinstalled software products.

[0073] Each of the scan methods 812 return indicia of the installedproducts in the form of a number of strings, here scan_string. Eachscan_string identifies a product name or file name, or some other data.However, a scan_string may not uniquely identify a product. For thisreason, the scan_string is resolved by the product locator table 803.

[0074] The product locator table 803 associates individual scan_strings813 with a product name 815, instructions 816 for determining a versionnumber or release number; and one or more constraints 814. Theconstraint is a rule that uniquely identifies the product givencontextual information for the product where there are two entrieshaving identical scan_strings. Constraints include specific directoriesthat include the product, additional entries in the system configurationfile, the Registry or the like. If the specified information in thesevarious locations matches the constraint values, then the product nameassociated with the constraint is the correct product name for thescan_string. In one embodiment, the constraint 814 is an executableprocedure that retrieves information in these various locations, anddetermines from this information whether the product name is a matchwith the scan_string, according to whether the specified details of theconstraint are found in the client computer 101.

[0075] Since some of the installed software products will be in theirmost current version, it is not necessary to update all softwareproducts installed on the client computer 101. Rather, from the list ofinstalled software products, further analysis (205, FIG. 2) determinesfor which of these software products is there an applicable softwareupdate. A software update is applicable to a client computer 101 ifversion of the software update is more is recent than the version of theinstalled software product.

[0076] Since not all of the software products installed on a clientcomputer 101 need to be updated, the determination of the applicablesoftware updates is usefully made with the product table 805. Theproduct table 805 associates a product name 815 and a particular release818 with an update ID 819 identifying a software update for that versionof the product. The new version number 820 specifies the new versionthat would be produced by applying the software update specified by theupdate ID 819 to the software product identified by the product name andrelease number. The latest field 821 specifies (Y/N) whether applyingthe software update would bring the product to its most up-to-dateversion.

[0077] Finally, the update table 807 stores the information necessaryfor performing the software update itself. This table is usefully keyedby the update ID 819. For each update, there is provided a URL list 823which contains URLs for the various sites that store the actual binaryfiles for the software update, typically the software vendor computersystem 103, and potentially mirror sites. The URL list 823 is comprisedof a number of URL entries, each URL entry having a URL and a timestampof the last time the URL was validated, and flag indicating whether theURL is valid. This allows the URL monitor 715 to ensure that current URLinformation is maintained in the database.

[0078] The current cost 824 of the software update is also stored toprovide the user with cost information for the software update.

[0079] The format 825 specifies the file format of the software updatefiles, and thereby indicates the type of processing needed to installthe software update files. In one embodiment, there are six formats andaccompanying installation procedures: TABLE 1 Format InstallationProcedure zip 1) Unzip file with unzip.exe 2) Run install.exe zip 1)Unzip file with unzip.exe 2) Run setup.exe self- 1) Execute file toextract extracting 2) Run install.exe archive self- 1) Execute file toextract extracting 2) Run setup.exe archive file.exe 1) Execute file forself extraction and installation. unknown 1) use script information toperform installation.

[0080] With respect to unknown or custom formats, the update table 807stores in the script 826 either a handle to a custom installationprogram that is provided either by the software vendor for the update,or by the service provider. In addition, the script 826 also storesinformation about any conditions that are required for the installation,such as turning off anti-virus programs, or other conflicting programsduring the installation process.

[0081] The description 827 field stores data associated with adescription of the software update, such as describing the productfeatures. The description is preferably a URL to a file on the softwarevendor computer system 103 that contains the description information.Again, the actual text need not be stored here, but merely a link towhere that information is available on the network 106.

[0082] The update database 709 has been described as a set of tables.Alternatively, the update database 709 may be implemented in an objectoriented framework with each table being a class, and the fields of thetables being attributes and methods of the class. The class type is thenusefully defined by the primary key of the table.

[0083] Client Computer

[0084] Referring now to FIG. 9, there is shown an illustration of thehardware and software architecture of a client computer 101. A clientcomputer 101 is of conventional design, and includes a processor core918, an addressable memory 900, and other conventional features (notillustrated) is such a display, a local hard disk, input/output ports,and a network interface. The display is of conventional design,preferably color bitmapped, and provides output for a user interface forvarious applications, such as illustrated in FIGS. 3-6. The input/outputports support input devices, such as a keyboard, mouse, and the like,for inputting commands and data. The network interface and a networkcommunication protocol 916 provide access to remotely situated massstorage devices, along with access to the Internet, with a TCP-IP typeconnection, or to other network embodiments, such as a WAN, LAN, MAN orthe like.

[0085] In the preferred embodiment the client computer 101 may beimplemented on a Intel-based computer operating under Microsoft Windows3.1 or Windows95 operating system 917, or equivalent devices. The clientcomputer 101 includes some number of configuration files 915, such asthe Windows95 Registry, the system.ini, config.sys and other files.

[0086] The client computer 101 further has installed thereon softwareproducts in the form of applications 912, operating system utilities913, and device drivers 914, and the like. These various softwareproducts are among those that will be updated by the service providercomputer 102.

[0087] In accordance with the present invention, the client computer 101executes the client application 104 in memory 900. The clientapplication 104 is comprised of a number of executable code portions anddata files. These include a security module 901, a communications module903, a payment module 905, a registration module 904, an advertising andnews module 906, a system analyzer 907, a recovery module 908, aninstall monitor 910, and data defining the current state 911 of theapplication. The client application 104 further maintains in a privatearea of the computer storage archive files 909 that archive the state ofthe client computer 101 prior to each update installation. The clientapplication 104 may be provided to the client computer 101 on a computerreadable media, such as a CD-ROM, diskette, 8 mm tape, or by electroniccommunication over the network 106, for installation and executionthereon.

[0088] Analysis of Installed Software Products and Determination ofApplicable Updates

[0089] In the preferred embodiment, the analysis 204 is preferablyperformed by the client application 104 on the client computer 101. Thisreduces the network bandwidth required, and the potentiallyunreliability of non-stateless remote procedure call implementations byhaving the service provider computer 102 perform the analysis. Itfurther increases the number of simultaneous users of the serviceprovider computer 102. The analyze process is performed by the systemanalyzer 907 module of the client application 104.

[0090] In this embodiment then, the client computer 101 stores a localcopy of the method table 801 and the product locator table 803 and usesthese local copies to perform the analysis.

[0091] Referring now to FIG. 10 there is shown the process of the systemanalyzer 907 for analyzing 204 the client computer 101 to determine thelist of installed software products.

[0092] The system analyzer 907 first synchronizes 1001 the method table801 and the product locator table 803 in the client computer 101 withthe current versions held by the service provider computer 102.Preferably each table is replaced in its entirety; this is likely to befaster than comparing individual entries and updating only those thatare out of date. The synchronization may be mandatory or conditioned byversion on client computer 101 being older than the version on theservice provider computer 102, as indicated by stored timestamp of lasttime the update table 709 in the service provider computer 102 wasupdated.

[0093] Once the tables are synchronized, the system analyzer 907 canoperate locally, for improved efficiency. The system analyzer 907traverses the entire method table 801, and invokes 1003 each scan method812 to search the Registry and configuration files 915 of the clientcomputer 101. Each scan method 811 outputs ascan_(—string, as described, specifying some software product installed on the client computer 101.)

[0094] The system analyzer 907 applies (1005) each of the scan_stringsto the product locator table 803. The product locator table 803 receivesthe scan_string and resolves 1007 the scan_string to determine a productname 815 and a release instruction 816 associated with it. In somecases, the scan_string does not uniquely identify a product. name 815,but matches several product names of installed software products.Accordingly, for each matching entry, the system analyzer 907 obtains1009 a constraint 814 from the product locator table 803, and resolves1009 the constraint to determine whether product on the client computer101 is in fact the product listed in the entry. The constraint 814 ofone of the entries will be satisfied and uniquely identify the productname.

[0095] Once the specific entry with the correct product name isidentified, the system analyzer 907 resolves 1011 the releaseinstruction 816 for the entry to obtain the release or version number ofthe installed software product. The release instruction 816 ispreferably an executable procedure that obtains the version number fromthe named software product, and thus not merely the actual data itself.Using an executable procedure here ensures that the obtained release orversion number is actual value for the product.

[0096] The result obtained by the system analyzer 907 from the productlocator table 803 is a list 1013 of the installed software products onthe client computer 101, each product identified by name and theinstalled version. The system analyzer 907 uses this list to query theservice provider computer 102 to determine 205 for which of theseproducts there is an applicable update.

[0097] For each installed product (1002) the system analyzer 907 queriesthe service provider computer 102 to resolve 1004 the name 815 andrelease number 818 of the product and determine if there a currentupdate 821 for the product. This may be done by passing in the entirelist as name, value pairs, or individually quarrying the serviceprovider computer 102. In either cases, the service provider computer102 determines if there is an applicable update for a software productby comparing the product name 815 and release information 818 to theproduct table 805, and obtaining the information in the latest updatefield 821. If there is an update available, in that the releaseinformation in the table indicates a version later than the version thatis installed on the client computer 101, then the service providercomputer 102 returns 1006 a handle the update ID 819 to the systemanalyzer 907. If the release of the software product installed on theclient computer 101 is the most recent version, then the serviceprovider computer 102 checks the next entry. This process continuesuntil all of the installed software products are checked.

[0098] Selection of Software Updates

[0099] Once all of the installed software products have been reviewedagainst the product table 805, the system analyzer 907 will have a list1007 of the applicable software updates, as those products for which itreceived an update ID 819 from the service provider computer 102. Thesystem analyzer 907 can then display 206 the list to the user. Anexemplary user interface is described above with respect to FIG. 4.

[0100] The system analyzer 907 can further display 207 additionalinformation for a software update, as illustrated in FIG. 5, by queryingthe service provider computer 102 with the update ID 819 of a particularproduct to resolve 1008 the update ID 819 on the update table 807 andreturn information, such as cost, description, and the like.

[0101] Installation of Software Updates and the Install Monitor

[0102] The user selects one or more of the list software updates. Foreach selected update, system analyzer 907 returns the update ID 819 tothe service provider computer 102. The service provider computer 102resolves the update ID 819 against the update table 807 to obtain therecord for this update, including the URL list 823 identifying thelocation of the relevant update files. This record is returned to theclient computer 101. The client computer 101 accesses the identifiedURL(s) and downloads the software update files, typically from thesoftware vendor computer 103, though downloads may be from mirror sites,or the like. The client computer 101 further downloads (from thereceived URLs) any additional installation files, such as installationexecutables, and scripts. The client computer 101 also verifies that thesoftware update files are not corrupted.

[0103] In a preferred embodiment, the client computer 101 employs itssecurity module 901 to verify the integrity of the files to make surethat they have not been corrupted.

[0104] The software update is then installed 212 by the clientapplication 104 as described, using the format information 825 todetermine the particular installation process, and the script 826 tocontrol any custom installation or configuration information.

[0105] Installation 212 is monitored by the install monitor 910, whichis executed prior to the actual installation. The install monitor 910documents the state of the client computer 101 prior to installation andthe changes made during the installation of a software update. Theinstall monitor 910 operates in the background, and intercepts calls tothe file system or other operating system calls that might result inchanges to any files in the client computer 101. Depending on thespecific call, the install monitor 910 takes action to preserve thestate of the file before the change is made.

[0106]FIG. 11 illustrates a flowchart of the operation of the installmonitor 910. The install monitor 910 receives operating system calls andmessages from the client application 104. On trapping 1101 an operatingsystem call, the install monitor 910 determines 1103 the type of call.There are three types of calls of interest: calls 1105 that delete. afile or directory, calls 1107 that change an existing file by writing toit, and calls 1109 to add new a file or directory. When a file ordirectory is to deleted, the install monitor 910 first makes 1113 a copyof the existing file or directory to a private area of the clientcomputer's 101 hard disk or other storage device. The install monitor910 then lets the operating system 917 delete the file or directory, andwaits for the next call. When a file is to be changed 1107, the installmonitor 910 determines 1115 whether this is the first write to the file.If so, then again, the install monitor 910 copies 1119 the file to theprivate area. If the file has been already changed during theinstallation, there is no need to copy it again. These copy operations1113, 1119 preserve the configuration of the client computer 101 priorto the installation. Finally, if a new file or directory is to be added1109, the install monitor 910 stores 1117 the pathname of the new fileor directory. This allows the new file or directory to be later deletedduring an undo of the installation. For all other types 1111 ofoperating system calls, the install monitor 910 passes them throughwithout action.

[0107] The install monitor 910 waits for installation process 212 tocomplete, preferably indicated by a message from the client application104. At this point the complete prior configuration of the clientcomputer 101 is known from the copied files and pathname information.These files and information are compressed 1121 into an archive file 909and saved on the client computer 101, along with information identifyingthe software product installation to which it belongs. This identifyinginformation allows the recovery module 908 to retrieve the archivedinformation and restore the configuration of the client computer 101.

[0108] Other Service Provider Software Architecture

[0109] Referring again to FIG. 7, the remaining modules of the serviceprovider computer 102 are now explained.

[0110] Communication

[0111] The communications module 703 provides for the establishment,maintenance and termination of network connections between the serviceprovider computer 102 and either the software vendor computers 103 orthe client computers 101. The communications module 703 supports the FT?and HTTP protocols for sending and receiving data over the Internet andthe World Wide Web. The communications module 703 generally maintainsand establishes separate streams for each connection it maintains.Preferably, the service provider computer 102 supports a large number ofconnections, possibly several hundred or thousands, at a time. In theevent the customer base is so large that an even larger number ofsimultaneous connections may be required, multiple servers with mirrorimages of the update database 709 may be used. The communications module703 also handles login and logout in a conventional manner, though thesefunctions may be incorporated into the security module 701, below.

[0112] Security

[0113] The security module 701 handles the authentication of the user asan authorized user of the service provider computer 102. The securitymodule 701 may be implemented with conventional authenticationmechanisms based on digital signatures, such as public key systemssupporting digital signatures, certificates and the like. Suitablesecurity mechanisms include VeriSign Inc.'s Digital ID Center, whichincorporates the login and logout functions from the communicationsmodule 703.

[0114] Additionally, the security module 701 provides for verificationof the integrity of software updates that are downloaded from softwarevendor computers 103 to ensure that such updates have not been alteredor infected by computer viruses or other unauthorized modifications.This module may be used, for example, to compute a checksum of theupdates and the checksum may be stored in the update database 709. Thechecksum may be a simple one, or a cryptographically secure one such asany of the Message Digest (MD) algorithms proposed by Professor RonaldRivest and commonly available in programming API's such as Microsoft'sCryptographic API standard. Whenever an update is later downloaded to aclient computer 101 from a software vendor computer 103, the checksum ofthe update may be computed and compared against the one stored in theupdate database 709. If the two match, it may reasonably be inferredthat the software update was downloaded to the client computer 101correctly. The security module 701 may also be used to scan for virusesin the software updates stored on the various software vendor computers103.

[0115] Payment

[0116] The payment module 705 handles payment by the end user to theservice provider for the service of providing software updates. Theservice provider computer 102 maintains a database of its users. Thisdatabase may be the user profile database 711 or other databases. Eachuser is charged a service fee for using the service provider computer102 to download software updates. The fee may be based on a variety ofdifferent schedules, such as connection time, number of software updatespurchased, annual or monthly subscription fee, or a combination of anyof these or other pricing formulas. However charged, the payment module705 tracks the user's usage of the service, for example, total theconnection time, and maintains a count of the number of software updatesdownloaded, until the user logs out of the service provider computer102. Payment is then charged to the user's credit card, which waspreviously supplied by the user during registration. Suitableimplementations of the payment module 705 may be created in conformancewith the Secure Electronic Transaction specification of Mastercard andVisa.

[0117] A user's subscription to the service may be enforced by thepayment module 705 in various ways. One example of an algorithm toenforce term subscription is as follows:

[0118] The user logs in from the client computer 101 to the serviceprovider computer 102. The payment module 705 determines if the user'saccount is current, and if so, accepts the connection to the clientcomputer 101. If the user's account is about to expire, for example,within 30 days, or has expired, the payment module 705 prompts the userto renew the subscription. If the user agrees, the subscription fee ischarged to the user's credit card account, and the connection to theclient computer 101 is established, allowing the user to use the serviceas described. If the users refuses to renew, the connection is refused.

[0119] Fees may also be charged on a per-transaction basis. In thisscenario, the fees may be attached to selected transactions. Onceexample of an algorithm to enforce per-transaction fees is as follows:

[0120] The client application 104 requests, for a software product to beupdated, a transaction permission from the service provider computer102. The payment module 705 determines from the update database 705 aspecific fee for the transaction, and returns this information, alongwith a permission, to the client application 104. The client application104 displays the fee to the user, who either confirms the transaction orcancels the software update. If the transaction is confirmed, the clientapplication 104 performs the installation process. The payment module705 is notified if the transaction and installation is successful, andthen adds the transaction fee to a running total of fees for the currentsession. When the user's session is complete, the running total oftransaction fees is charged to the user's credit card, and the chargesprovided to the client application 104 which displays them to the user.

[0121] In cases where an update is going to be undone by the recoverymodule 908, the transaction fees should to be credited back to theuser's credit card account. Here, the client application 104 informs theservice provider computer 102 that a software update is to be undone,providing the update ID 819 of the software update The payment module705 uses the update ID 819 to determine the transaction fee (cost 824)to be credited. This amount is passed back to the client application 104and displayed to the user. The software update is removed by therecovery module 908, and the payment module 705 is notified of thesuccessful removal. The payment module 705 then subtracts thetransaction fee from any current running total of fees. At the close ofthe session, the payment module 705 either charges or credits the user'scredit card account, as appropriate.

[0122] Database Modification

[0123] The database modification tools 707 provide for the maintenanceand updating of the update database 709 to include new software updatesfrom various software vendors. The tools 707 provide for the addition ofnew entries, and the deletion or alternation of existing entries in anyof the tables of the update database 709.

[0124] Of the various tables, the update table 807, which contains theinformation about the current updates for the software products, and theproduct table 805, which identifies the various software products forwhich their are updates, are the most frequently modified.

[0125] As new software updates become available, either the serviceprovider or the software vendors access the database modification tools707 to update the database. This is preferably done by completing formsthat capture the information used in the tables of the database. FIG. 13illustrates a sample form for specifying new update information, orchanging existing update information. The form 1300 includes fields forproviding the remark 1301 used in describing the update, a URL 1303 forthe information on the software update, version information 1305,software products 1307 affected by the update, the type of update 1309,known incompatibilities 1311, filters for locating prior versions of thesoftware product to be updated based on version information 1313, dateinformation 1315, and Registry information 1317 (for identifying thesoftware product in the Registry files of the 915 of the client computer101). In addition, the file format 1321 of the update is specified alongwith a URL 1319 for the network location of software update itself.Finally, the installation procedures 1323 are specified for use in aninstallation script 826. This information readily processed in aconventional manner and updated to the appropriate tables of the updatedatabase 709.

[0126] In order to be supported by the update service of the serviceprovider, software products and the updates to the software productshave to be registered in the update database 709.

[0127] Registering a software product has the goal of specifyingsufficient information to identify a product and its version if theproduct has been installed on a given client computer 101. FIG. 17illustrates a form for registering a software product into the updatedatabase 709 for the first time. The registration form 1700 containsfields for the software vendor's company name 1701, software productname 1703, product type 1705, a method 1707 to identify the softwareproduct on the client computer 101, a unique file name 1707 or characterstring identifying the product, methods 1709 for verifying versioninformation, file dates 1711, and directories 1713 on the clientcomputer 101.

[0128] The product type 1705 can be a device driver, an application, aplug in (a product which extends the capabilities of another productsuch as an Internet browser) or an operating system file.

[0129] The method 1707 to identify the software product preferablyspecifies a unique file name or a character string and the location ofthe file name or string. For example, on the Windows 95 operatingsystem, the name of a sound driver is specified in the Registry location\HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\MediaResources\midi. In this case, the filename of the driver is found in thisRegistry is location. A software product could also be identified by thepresence of unique directory names. As noted, in some instances, productnames are not unique.

[0130] The version of the software product that is installed on a clientcomputer 101 may be obtained in one of several ways. It may be theversion number, the last modification time-stamp of a file, or it may bespecified explicitly in the Registry. The information provided in theregistration form is processed after submission and added to theappropriate tables of the update database 709.

[0131] Software updates may be identified for inclusion in the updatedatabase 709 by the service provider periodically searching the Internetto identify software vendors providing updates of software products.Most software vendors will maintain Internet sites that indicate thepresence of new software updates. For each identified software vendor,the service provider downloads the software updates to the updatesdatabase 709. A file format of the software update is determined, and aninstallation process specified according to the file format of thesoftware update. Finally, the service provider creates an entry in theupdate database 709 including the URL or network location of thesoftware vendor's computer system 103 storing the software update, thefile format of the software update, and a specification of theinstallation process.

[0132] Alternatively, software vendors who contract with the serviceprovider may provide the information about their software products andsoftware updates, e.g. name, file format, and so forth, directly to theservice provider, or to the update database 709.

[0133] However provided to the update database 709, registering anupdate consists of specifying the properties of the software update andthe software products and their versions to which the software update isapplicable. The properties of the software update preferably include thenew version number 820 that results if the software update is applied tothe product, the format 825 of the software update—zip file,self-extracting archive, and the like, and the installation steps(script 826) required to install the software update on the clientcomputer 101. The product versions to which the software update isapplicable are specified as the products themselves are specifiedearlier in this section. Also, a URL to a brief description and a fulldescription of the software update—the problems it fixes and features itmight add—is preferably included, or the information may be directlystored.

[0134] As each new update becomes available, a new update entry iscreated. Either the software vendor or the service provider specifiesthe product and the software update database entries in conformance withthe properties of the software update.

[0135] User Profile Database

[0136] The user profile database 711 maintains a profile for each usercontaining information about which products the user has shown aninterest, for example by requesting notification about software updatesfor specific products, or about new software products. This informationis then used to deliver notifications about new updates available forthese products to the user, for example by email, or other electroniccommunications mechanisms. This optional feature of the service providercomputer 102 further enhances the value of the service to the user,ensuring timely notification of the availability of software updates andnew software products.

[0137] In this regard, one alternate embodiment of the present inventionis the use of email to notify users about new software updateinformation, and new software products for which the user has expressedan interest. Specifically, when a new software update or softwareproduct is available, the service provider computer 102 sends an emailto those users who have requested notification by email. The emailcontains information about the software update, and may include therecord from the update table 807 about the software update, includingthe URL data 823 used to access the software update files. The clientapplication 104 would then read the update information, and verify thatthe software update is indeed applicable to the client computer 101, andthat the client computer 101 satisfies any conditions for installation.If the software updates are approved by the user, the client application104 downloads the software update, verifies its integrity, and installsthe software update directly, without having to login 201 to the serviceprovider computer 102, and analyze 204 the software products installedon the client computer 101. In the case of notifications about newsoftware products in which the user had expressed interest, the clientapplication 104 would verify that the user is still interested in thesoftware product and proceed to purchase, download and install it.

[0138] As a further enhancement of the e-mail notification embodiment,the email sent by the service provider computer 102 includes aspecification of conditions a client computer 101 must satisfy for thesoftware update or software product to be installed. This information isessentially the same as that used by the client application 104 todetermine the relevant software updates for the client computer 101. Forexample, this information includes, for a software update, the olderversions of the software product, to which it is applicable. Thisadditional information in the email notification is used by the clientapplication 104, for example, to ensure that the software update is usedonly once by the user, and can be repeatedly applied..

[0139] The user profile database 711 generally stores informationdescriptive of each user. This information may include the user ID,password, digital signature, credit card numbers and the like, for useby the security 701, communications 703, and payment 705 modules. FIG.14 specifies one exemplary schema of the user profile database 711. In auser table 1400, each user is identified by user ID 1401, name 1403,email address 1405, the start date 1407 of their subscription to theservice, the end or termination date 1409 of the subscription, creditcard information 1411 such as. number, issuer and expiration date, auser selected password 1413, and a public key 1415 or otherauthentication token. As illustrated in FIG. 3, the user has the option309 of requesting notification by email of such software updates. Theuser table 1400 thus also includes a flag 1416 indicating whether theuser so desires to be notified by email. The user table 1400 is keyed bythe user ID 1401 to a notification table 1417 that associates the userwith selected product names 1419 and their current version 1421. When asoftware vendor or the service provider updates the update database 709with information for a new software update, the notification table 1417may be scanned to identify those users by user ID 1401 to notify aboutthe update. The email flag 1416 for a user is checked, and if true, theuser's email address 1405 is obtained from the user table 1400 and theuser notified by email with information identifying the new softwareupdate.

[0140] Activty Log

[0141] The service provider computer 102 may be used to log allactivities it performs with respect to the service in the activity log718. Of particular interest are the activities the computer performs inresponse to user requests for software updates and the like. Anillustrative format for the activity log 718 is shown in Table 2. TABLE2 Activity Log 718 Transaction Activity Date- Id Type Time User IdParameters Response 00000001 Login 031296 20198312 password Success093540 00000002 Get- 031296 20198312 last Methods Methods 093606 versionDB or DB Up-to-date 00000003 Get- 031296 20198312 last Products-Products 093649 version Locator Locator DB or DB Up-to-date 00000004Query 031296 20198312 Sound sb-2.02 Product 093723 Blaster16, DB 2.0Query 031296 20198312 Myst 1.0 Up-to-date Product 093727 DB 00000005GetUpdate 031296 20198312 sb16-2.02 Update Entry 093751 Entry 00000006Download 031296 20198312 sb16-2.02 Success Done 093807 00000007Installed 031296 20198312 sb16-2.02 Success Update 094532 00000008Logout 031296 20198312 — Success 094730

[0142] In this example, the user logged in on Mar. 12, 1996 at 09:35:40a.m., synchronized their method table 801 and product locator table 803,queried if software updates for SoundBlaster16 2.0 and Myst 1.0 newerthan these product's last version were available. The responses indicatethat Myst 1.0 was update to date, but the current version ofSoundBlaster16 was version 2.02. The user then obtained the update entryfor the new version of SoundBlaster16 describing the software update,downloaded the software update, installed it, and logged out.

[0143] Activity types not represented in the example above include Undoof lo Updates by the recovery module 908, registering for service, andregistering for notification for updates to specific products.

[0144] In this example, the activities of a single user are representedin the activity log. In an actual system, the activities of severaldifferent users would be interspersed in the activity log.

[0145] Reporting Tools

[0146] The reporting tools 713 provide support for querying the updatedatabase 709, the user profile database 711 and the activity log 718.The queries may be about the software products and updates, about thecorrelation between the types of software updates accessed by varioususers, and about 20 aggregate data. The databases 709, 711 and theactivity log 718 together have the potential to provide precisedescriptions of the software product profiles of the users. For example,statistical information may be retrieved indicating the number of usersof one product, such as SoundBlaster16, who also own a second product,such as Myst. This information may be collected and analyzed withoutnecessarily violating the privacy of the individual users.

[0147] URL Monitor

[0148] The URL monitor 715 compiles the list of URLs in the updatedatabase 709 and verifies on a periodic basis whether they have changed.This is done to ensure that the URL information for the software updatesis always valid. FIG. 12 illustrates a flowchart of the URL monitor 715.The URL monitor 715 traverses 1201 each entry in the update table 807.This may be done simply in serial order, or by more complex approaches,such as oldest entries first, or some other fashion. For each entry, theURL monitor 715 obtains 1203 the URL entries in the URL list 823, eachentry as noted above having a timestamp. The URL monitor 715 links 1205to the URL in an attempt to connect to the identified site or file viathe Internet.

[0149] The attempted link may fail, and may be repeated some number ofis times in order to confirm that the URL is actually absent orotherwise incorrect, as opposed to merely a failure of the networkservice provider or the like. Once it is determined 1207 that the URL isnot present, the URL is marked 1209 in the update table 807 as beinginvalid.

[0150] If the URL is present, then the timestamp of the URL at the hostsite is checked, typically by checking the timestamp of the fileassociated with the URL, or the timestamp of the file that includes theURL, or whichever is later. IS the timestamp at the host is newer thanthe timestamp held in the update table 807, then it is possible that theunderlying file has been changed, and the URL is no longer valid. Again,the URL is marked 1209 as being invalid. If the timestamp of the host isnot newer, then the URL monitor 715 continues with the next URL in theURL list 823. Once all of the URLs in the update table 807 (or thedesired number of old ones) have been processed, then the URL monitor715 notifies 1213 the system administrator of the potentially invalidURLs. The system administrator can then verify the URLs and update themif necessary, resetting the valid flag as the URLs are updated.

[0151] Advertising & Information Database

[0152] The access that the service provider computer 102 has to thesoftware profile of the client computers 101 lends itself to sendinginformation, advertisements, and other promotional material that wouldbe appropriate to each specific user, based on the software installed onthe user's computer. Basing information delivery on the installedsoftware products increases the saliency of the information since theuser has already manifested an interest in the products. Thus,advertising or promotional information that is derived from orassociated with such software products is most likely to be of interestto the user. The service provider computer 102 associates softwareproducts with advertising information, and enables this advertisinginformation to be periodically delivered to the user.

[0153] Furthermore, the nature of downloading and installing softwareupdates is inherently time-consuming; the risks that users perceive inupdating usually would mean that they would seldom perform the updateson unattended computers. These factors create an opportunity to theservice provider to direct targeted advertisements at the user atappropriate moments when the user runs the client application 104 toupdate their software, at which time they are present at their computerbut not engaged in other activities. The advertisements themselves maybe about for-fee software updates (upgrades) that the user may be ableto purchase from the service provider or other third parties. Deliveryof advertising information during the update process 212 is on theclient computer 101 by the advertising/news module 906.

[0154] The advertising and information database 717 accordinglyassociates software products with advertising and promotionalinformation. This association may be made in a number of different ways.One mechanism of association is categorizing software products andadvertisements. FIG. 15 illustrates an exemplary schema for theadvertising and information database 717 for associating advertisinginformation and software products.

[0155] The ad table 1500 includes for each advertisement an ad number1501, a URL 1503 to the advertisement or information item, and a list1505 of categories for the advertisement, such as “word processing,”“desktop publishing,” “graphics,” “adventure games,” “communications,”“Internet” and the like. An advertisement or information item may haveany number or variety of categories associated with it. Theproduct-category table 1507 lists products names 1511, product IDs 1509,and again, a list 1513 of categories for the product.

[0156] If a user has requested updates to a specific installed product,then presumably the user would be interested in advertisements orinformation for other products that are categorized in the samecategories as the installed product. For example, if the user requestsan update to an installed copy of Myst 1.0, then this product name ismatched against the product name 1511 in the product-category table1507, and the categories 1513 for it, such as “interactive game,” areretrieved. The categories 1505 in the category list 1505 of the ad table1500 are matched against this category, and the URLs 1503 for matchingentries retrieved and accessed, with the information being delivered tothe user by the client application 104. The information is preferablypresented on the client computer 101 during the installation process208-214. If there are many matches, then a weighting may be applied toselect only those advertisements that match a certain percentage, ornumber, of categories of the installed products. Other selectioncriteria may also be applied. The schema of FIG. 15 is merelyillustrative, and implementations other categorization may be used toassociate advertising information with software products for delivery tousers having such products installed on their computers.

[0157] Client Application Software Architecture

[0158] Referring again to FIG. 9, the remaining modules of the clientapplication 104 are now explained.

[0159] Communication

[0160] The communications module 903 provides complementary functions tothe communications module 703 of the service provider computer 102,including establishing and terminating connection streams, login andlogout functions, FTP functions, and HTTP protocol compliance. All ofthese functions may implemented in a conventional manner.

[0161] Security

[0162] The security module 901 provides an interface to the securitymodule 701 of the service provider computer 102, for authentication ofthe user password, digital signatures, certificates, or the like. Userpasswords or other authentication information are assigned to the userin a conventional manner. The security module 901 may store theauthentication information, or the user may be required to manuallyinput the authentication information during login.

[0163] Payment

[0164] The payment module 905 provides an interface to the paymentmodule 705 of the service provider computer 102 to effect payment foruse of the update service. Payment schedules may vary as describedabove. Preferably payment is made by credit card authorization. Givenone or more payment schedules for use of the service, such as perupdate, periodic fees, or the like, the payment module may beimplemented in a conventional manner.

[0165] Registration

[0166] The registration module 904 is used to register new users to theservice provider computer 102. A sample user interface for theregistration module 904 is shown in FIG. 3.

[0167] The registration module 904 obtained the user's name, address,credit card information, and a user-selected password. The password isentered by the user twice and the two entries matched to ensure that theuser did not mistype the password unintentionally. This information isstored in the current state 911 data. The registration module 904 alsosends this information to the service provider computer 102. There theinformation is verified and a unique registration number assigned to theuser and the number is returned to the client application 104, where theregistration module 904 displays the number to the user, and stores thenumber internally in the current state 911 data.

[0168] Advertising & News

[0169] The advertising and news module 906 provides customizedinformation to each user of the service based on their prior interestsin various software products and updates, as monitored and stored in theuser profile database. The advertising and news module 906 interfaceswith the advertising database 717 of the service provider computer 102to deliver advertising and promotional information the user based on theinstalled software products on the user's computer 101.

[0170] The advertising and news module 906 provides information invarious different modes. In one mode, the advertising and news module906 obtains ads from the advertising database 717 on a periodic basis,such as once every several hours, according to the installed softwareproducts on the client computer 101, as described above, and caches themlocally; If an ad (here including other types of information orpromotional data) is already present in the cache, it is marked as new,otherwise, the URL of the ad (as determined from the database 717) isaccessed, and the ad saved in the cached. Ads not marked as new arepurged.

[0171] In a second, complementary mode, the advertising and news module906 then selects ads from the cache and displays them to the user for apredetermined duration when no other user activity is occurring, such asduring the installation process described above, or during an undooperation by the recovery module 908.

[0172] Current State

[0173] The current state 911 is a data store of data describing thepresent operation of the client application 104, including for example,user specific is information, such as name, address, credit card number,registration or serial number, and which updates have been downloadedand which have been installed. The registration number is used each timethe user logs in to the service provider computer 101. The informationabout which updates have been downloaded and installed is used toprovide the undo capability of the recovery module 908.

[0174] Recovery

[0175] The recovery module 908 provides for undoing, or de-installingpreviously installed software updates using the archive files 909.

[0176] Recovery is an action initiated by the user when he or she isdissatisfied with a software update. When initiated, the effects of asoftware update previously installed are reversed. The ability of therecovery module 908 to perform the recovery is based on the presence ofthe archive files 909 created by the install monitor 910 when thesoftware update was first installed. The archive files 909 contain acopy of each file which was deleted or modified during installationalong with its original pathname and a list of pathnames of files addedduring the installation. The archives 909 are preferably kept in acompressed format for space efficiency. Generally, given a specificsoftware update to remove, the recovery module 908 reads the archivefile 909 associated with that software update, restores the deleted ormodified files to their directories, and deletes the added files ordirectories.

[0177]FIG. 16 illustrates one embodiment of the operation of therecovery module 908. The recovery module 908 receives, as shown in FIG.6, an input of the name of the software update to be removed. This nameis associated in the current state information 911 with the particulararchive file 909 for that installation. The recovery module 908 closes1601 all executing applications. Using the name of the software update,or other identifying indicia, the recovery module 908 obtains thearchive file 909 associated with the update, and uncompresses 1602 it.For each file that is stored in the archive in compressed form,representing a file that the was deleted, the recovery module 908 copies1603 that file to its original location in the client computer 101. Foreach file or directory that is listed as being new, the recovery module908 deletes 1604 that file or directory. Finally, the recovery module908 reboots 1605 the client computer 101.

[0178] In summary, the present invention enables a useful mechanism forproviding updates of various software products from diverse softwarevendors to a plurality of users, each user having different ones of thesoftware products installed on their computers. The system of thepresent invention enables the software updates to be continuallymaintained and verified for correctness, while alleviating both usersand software vendors of a substantial burden is communicating with each.The system enables any software vendor to provide software updates tothe service provider, ensuring that subscribing users have the softwareupdate on a timely basis. Likewise, subscribing users are ensured thatthey are notified about software updates for all of the softwareproducts installed on their computers, without having to individuallysearch out information for each such product. In addition, the presentinvention enables advertising and other information to be targeted tousers based on their interests and preferences and expressed in thesoftware products installed on their computers.

1. A computer-implemented method of providing updates for softwareresiding on a client computer, comprising: establishing a communicationlink between a client computer and a service provider computer over anetwork; downloading an application to the client computer over thecommunication link, the application being capable of performing a scanof the client computer to identify software residing on the clientcomputer; as a result of the scan, displaying a list of softwareresiding on the client computer; displaying updates associated with thelist of software residing on the client computer; and receiving aselection of at least one of the updates from the client computer.
 2. Amethod according to claim 1, wherein the network is the Internet.
 3. Amethod according to claim 1, further comprising installing the update inaccordance with an installation process.
 4. A method according to claim5, wherein the installation process is specified in accordance with afile format of the update.
 5. A method according to claim 1, wherein theupdates are displayed as links to URLs.
 6. A method according to claim1, wherein the updates are accompanied with promotional information. 7.A computer program product for providing updates for software residingon a client computer, comprising: computer code for establishing acommunication link between a client computer and a service providercomputer over a network; computer code for downloading an application tothe client computer over the communication link, the application beingcapable of performing a scan of the client computer to identify softwareresiding on the client computer; computer code for displaying a list ofsoftware residing on the client computer as a result of the scan;computer code for displaying updates associated with the list ofsoftware residing on the client computer; and wherein a selection of atleast one of the updates is received from the client computer.
 8. Acomputer program product according to claim 7, wherein the network isthe Internet.
 9. A computer program product according to claim 7,further comprising computer code for installing the update in accordancewith an installation process.
 10. A computer program product accordingto claim 9, wherein the installation process is specified in accordancewith a file format of the update.
 11. A computer program productaccording to claim 7, wherein the updates are displayed as links toURLs.
 12. A computer program product according to claim 7, wherein theupdates are accompanied with promotional information.
 13. A system forproviding updates for software residing on a client computer,comprising: logic for establishing a communication link between a clientcomputer and a service provider computer over a network; logic fordownloading an application to the client computer over the communicationlink, the application being capable of performing a scan of the clientcomputer to identify software residing on the client computer; logic fordisplaying a list of software residing on the client computer as aresult of the scan; logic for displaying updates associated with thelist of software residing on the client computer; and wherein aselection of at least one of the updates is received from the clientcomputer.
 14. A system according to claim 13, wherein the network is theInternet.
 15. A system according to claim 13, further comprisingcomputer code for installing the update in accordance with aninstallation process.
 16. A system according to claim 15, wherein theinstallation process is specified in accordance with a file format ofthe update.
 17. A system according to claim 13, wherein the updates aredisplayed as links to URLs.
 18. A system according to claim 13, whereinthe updates are accompanied with promotional information.